<?php
class IndexController extends AppController {
	var $name = 'Index';
	public $uses = null;
	
	var $components = array (
			'smarty' 
	);
	
	function home() {
		// $this->smarty->caching = true;
		// $this->smarty->cache_lifetime = 0;
		$this->smarty->assign ( 'title', "首页" );
		$this->smarty->display ( VIEWS . 'index.html' );
	}
	
	function render() {
	}
}
?>